import Vue from 'vue'
import Vuex from 'vuex'
import mutations from './mutations.js'
Vue.use(Vuex)

let state = {
	attrVal:[] ,//valIndex
	attrTxt:'请选择商品规格尺寸',
	count:1,
	isLogin:0 //先默认为0
}
const store = new Vuex.Store({
	state,
	mutations
})

export default store